//package com.zmn.plat.dubbo.impl.base;
//
//import com.zmn.common.dto.VtDTO;
//import com.zmn.common.dto2.ResponseDTO;
//import com.zmn.manager.common.database.annotation.ReadOnlyConnection;
//import com.zmn.plat.business.interfaces.base.phenomenon.PhenomenonBService;
//import com.zmn.plat.common.exception.PlatException;
//import com.zmn.plat.dubbo.interfaces.base.FaultPhenomenonRemoteService;
//import com.zmn.plat.dubbo.utils.DubboConsts;
//import lombok.extern.slf4j.Slf4j;
//import org.apache.dubbo.config.annotation.Service;
//
//import javax.annotation.Resource;
//import java.util.List;
//
///**
// * 描述: 故障现象查询dubbo实现
// *
// * @author fengxuecai
// * @since 2021/11/24 14:50
// */
//@Slf4j
//@Service(version = DubboConsts.INTERFACE_VERSION, validation = "true")
//public class FaultPhenomenonRemoteServiceImpl implements FaultPhenomenonRemoteService {
//
//    @Resource
//    private PhenomenonBService phenomenonBService;
//
//    @Override
//    @ReadOnlyConnection
//    public ResponseDTO<List<VtDTO>> listPhenomenonByPhenIds(List<Integer> phenIds) {
//
//        log.info("FaultPhenomenonRemoteServiceImpl.listPhenomenonByPhenIds入参：{}", phenIds);
//        try {
//            List<VtDTO> vts = phenomenonBService.listPhenomenonByPhenIds(phenIds);
//            return ResponseDTO.success(vts);
//        } catch (PlatException e) {
//            return ResponseDTO.fromErrorCodeTable(e.getErrorCode());
//        } catch (Exception e) {
//            log.error("listPhenomenonByFaultPhenIds查询失败,原因:{}", e.getMessage(), e);
//            return ResponseDTO.fail("查询失败，程序异常");
//        }
//    }
//
//}
